package com.project.frame.common.constant;
/**
 * @description: 系统常量定义
 */
public interface SystemConstants {

	String TOKEN_NAME = "access_token";
	String SESSION_CLIENT_NAME = "client";
	String HEAD_APPCODE = "app_code";

	String CHARACTER_ENCODING = "UTF-8";//系统编码
	/**
	 * 常用分割符号
	 */
	String SEQ_SEPARATOR = "-";
	String UNDERLINE_SEPARATOR = "_";
	char UNDERLINE_SEPARATOR_CHAR = '_';
	String COMMA_SEPARATOR = ",";
	String UNID_UNDERLINE = "unid_";
	String SYMBOL_AT = "@";
	String SYMBOL_POINT = ".";
	String SYMBOL_SLASH = "/";
	String SYMBOL_BACKCOMMENT_POINT = "\\.";
	String COMMON_SEPARATOR = ",";
	String ROLE_SEPARATOR = ",";
	String COLON_SEPARATOR = ":";

	String MINI_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s";

	String GET_PHONE_NUMBER_URL = "https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=%s";

	//企业微信获取通用的access_token
	String QYWX_TOKEN_URL = "https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=%s&corpsecret=%s";

	String QYWX_MESSAGE_SEND_URL = "https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=%s";

	//获取客户基础信息（微信客服）
	String KF_CUSTOMER_URL = "https://qyapi.weixin.qq.com/cgi-bin/kf/customer/batchget?access_token=%s";

	String JSCODE2SESSION_URL = "https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code";



}
